(function () {
    var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {};
    templates['trackItemTmpl'] = template(function (Handlebars, depth0, helpers, partials, data) {
        helpers = helpers || Handlebars.helpers;
        var buffer = "", stack1, foundHelper, functionType = "function", escapeExpression = this.escapeExpression;


        buffer += "    \r\n    <tr key=\"";
        foundHelper = helpers.id;
        if (foundHelper) { stack1 = foundHelper.call(depth0, { hash: {} }); }
        else { stack1 = depth0.id; stack1 = typeof stack1 === functionType ? stack1() : stack1; }
        buffer += escapeExpression(stack1) + "\">\r\n        <td>\r\n            <div style=\"height:20px\"><span c=\"rankvalue\"></span></div>\r\n            <div c=\"rank\">\r\n                <select name=\"selrate\">\r\n                    <option value=\"1\">长期收藏</option>\r\n                    <option value=\"2\">想买类似的</option>\r\n                    <option value=\"3\">先关注一下</option>\r\n                    <option value=\"4\">近期想买的</option>\r\n                    <option value=\"5\">立刻想买的</option>\r\n                </select>\r\n            </div>\r\n            <div>\r\n            <input type=\"button\" value=\"×\" c=\"del\" title=\"取消关注\" />\r\n            </div>\r\n        </td>\r\n        <td>\r\n            ";
        foundHelper = helpers.site;
        if (foundHelper) { stack1 = foundHelper.call(depth0, { hash: {} }); }
        else { stack1 = depth0.site; stack1 = typeof stack1 === functionType ? stack1() : stack1; }
        buffer += escapeExpression(stack1) + "\r\n        </td>\r\n        <td title=\"";
        foundHelper = helpers.name;
        if (foundHelper) { stack1 = foundHelper.call(depth0, { hash: {} }); }
        else { stack1 = depth0.name; stack1 = typeof stack1 === functionType ? stack1() : stack1; }
        buffer += escapeExpression(stack1) + "\">\r\n            <a href=\"";
        foundHelper = helpers.url;
        if (foundHelper) { stack1 = foundHelper.call(depth0, { hash: {} }); }
        else { stack1 = depth0.url; stack1 = typeof stack1 === functionType ? stack1() : stack1; }
        buffer += escapeExpression(stack1) + "\" />\r\n            <a href=\"";
        foundHelper = helpers.unionUrl;
        if (foundHelper) { stack1 = foundHelper.call(depth0, { hash: {} }); }
        else { stack1 = depth0.unionUrl; stack1 = typeof stack1 === functionType ? stack1() : stack1; }
        buffer += escapeExpression(stack1) + "\" target=\"_blank\" class=\"itemUrl\"><span class=\"title-l\">";
        foundHelper = helpers.name;
        if (foundHelper) { stack1 = foundHelper.call(depth0, { hash: {} }); }
        else { stack1 = depth0.name; stack1 = typeof stack1 === functionType ? stack1() : stack1; }
        buffer += escapeExpression(stack1) + "</span><br/><img style=\"width:52px\" src=\"";
        foundHelper = helpers.imgUrl;
        if (foundHelper) { stack1 = foundHelper.call(depth0, { hash: {} }); }
        else { stack1 = depth0.imgUrl; stack1 = typeof stack1 === functionType ? stack1() : stack1; }
        buffer += escapeExpression(stack1) + "\" /></a>\r\n        </td>\r\n        <td>\r\n            <span class=\"longDateFormat\">";
        foundHelper = helpers.date;
        if (foundHelper) { stack1 = foundHelper.call(depth0, { hash: {} }); }
        else { stack1 = depth0.date; stack1 = typeof stack1 === functionType ? stack1() : stack1; }
        buffer += escapeExpression(stack1) + "</span>\r\n        </td>\r\n        <td>\r\n            ";
        foundHelper = helpers.price;
        if (foundHelper) { stack1 = foundHelper.call(depth0, { hash: {} }); }
        else { stack1 = depth0.price; stack1 = typeof stack1 === functionType ? stack1() : stack1; }
        buffer += escapeExpression(stack1) + "\r\n        </td>\r\n        <td>\r\n            <span>";
        stack1 = depth0.reduction;
        stack1 = stack1 == null || stack1 === false ? stack1 : stack1.quantity;
        stack1 = typeof stack1 === functionType ? stack1() : stack1;
        buffer += escapeExpression(stack1) + "</span><span class=\"btn-danger\">";
        stack1 = depth0.reduction;
        stack1 = stack1 == null || stack1 === false ? stack1 : stack1.percent;
        stack1 = typeof stack1 === functionType ? stack1() : stack1;
        buffer += escapeExpression(stack1) + "</span>\r\n        </td>\r\n        <td>\r\n            ";
        foundHelper = helpers.curprice;
        if (foundHelper) { stack1 = foundHelper.call(depth0, { hash: {} }); }
        else { stack1 = depth0.curprice; stack1 = typeof stack1 === functionType ? stack1() : stack1; }
        buffer += escapeExpression(stack1) + "\r\n        </td>\r\n        <td style=\"display:none\">\r\n            ";
        foundHelper = helpers.stock;
        if (foundHelper) { stack1 = foundHelper.call(depth0, { hash: {} }); }
        else { stack1 = depth0.stock; stack1 = typeof stack1 === functionType ? stack1() : stack1; }
        buffer += escapeExpression(stack1) + "\r\n        </td>\r\n        <td>\r\n            ";
        foundHelper = helpers.coupon;
        if (foundHelper) { stack1 = foundHelper.call(depth0, { hash: {} }); }
        else { stack1 = depth0.coupon; stack1 = typeof stack1 === functionType ? stack1() : stack1; }
        buffer += escapeExpression(stack1) + "\r\n        </td>\r\n        <td>\r\n            <div class=\"i-largess\">\r\n            ";
        foundHelper = helpers.gift;
        if (foundHelper) { stack1 = foundHelper.call(depth0, { hash: {} }); }
        else { stack1 = depth0.gift; stack1 = typeof stack1 === functionType ? stack1() : stack1; }
        buffer += escapeExpression(stack1) + "\r\n            </div>\r\n        </td>\r\n        <td style=\"display:none\">\r\n            ";
        stack1 = depth0.reviews;
        stack1 = stack1 == null || stack1 === false ? stack1 : stack1.goodPercent;
        stack1 = typeof stack1 === functionType ? stack1() : stack1;
        buffer += escapeExpression(stack1) + "%/总";
        stack1 = depth0.reviews;
        stack1 = stack1 == null || stack1 === false ? stack1 : stack1.total;
        stack1 = typeof stack1 === functionType ? stack1() : stack1;
        buffer += escapeExpression(stack1) + "<br/>好";
        stack1 = depth0.reviews;
        stack1 = stack1 == null || stack1 === false ? stack1 : stack1.good;
        stack1 = typeof stack1 === functionType ? stack1() : stack1;
        buffer += escapeExpression(stack1) + "/中";
        stack1 = depth0.reviews;
        stack1 = stack1 == null || stack1 === false ? stack1 : stack1.avg;
        stack1 = typeof stack1 === functionType ? stack1() : stack1;
        buffer += escapeExpression(stack1) + "/差";
        stack1 = depth0.reviews;
        stack1 = stack1 == null || stack1 === false ? stack1 : stack1.bad;
        stack1 = typeof stack1 === functionType ? stack1() : stack1;
        buffer += escapeExpression(stack1) + "\r\n        </td>\r\n        <td class=\"set\">\r\n                <div class=\"m1 options\">\r\n            <a href=\"";
        foundHelper = helpers.unionUrl;
        if (foundHelper) { stack1 = foundHelper.call(depth0, { hash: {} }); }
        else { stack1 = depth0.unionUrl; stack1 = typeof stack1 === functionType ? stack1() : stack1; }
        buffer += escapeExpression(stack1) + "\" target=\"_blank\"><img src=\"css/images/button_check.gif\" width=\"87\" height=\"29\" border=\"0\" alt=\"\"></a>\r\n            <a c=\"setNotice\" href=\"#\" style=\"display:none\">提醒设置</a></td> </tr> ";
        return buffer;
    });
})();